<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
    <div class="panel-body">
    <div class="col-sm-12">
    
        <div class="row ">
            <div class="col-sm-2">
                <input type="text" class="form-control"  ng-model="searchform.name" placeholder="姓名"> 
            </div>
            <div class="col-sm-2 pull-right">
                <button class="btn btn-block btn-info" ng-click="create()">创建评定员</button> 
            </div>
            <div class="col-sm-2 pull-right">
                <button class="btn btn-block btn-info" ng-click="getlist()">搜索</button> 
            </div>
        </div>
    
    </div>
    </div>
    </div>
    <!-- searchArea -->
    
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-condensed table-hover table-bordered">
                <thead>
                    <tr>
                        <th class="col-md-1 text-center">编号</th>
                        <th class="col-md-1 text-center">姓名</th>
                        <th class="col-md-2 text-center">手机号</th>
                        <th class="col-md-1 text-center">星级</th>
                        <th class="col-md-1 text-center">登录号</th>
                        <th class="col-md-1 text-center">年龄</th>
                        <th class="col-md-2 text-center">创建时间</th>
                        <th class="col-md-1 text-center">状态</th>
                        <th class="col-md-2 text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="obj in objs">
                        <td class="text-center">{{obj.id}}</td>
                        <td class="text-center">{{obj.name}}</td>
                        <td class="text-center">{{obj.mobile}}</td>
                        <td class="text-center">{{obj.evaluate_star}}</td>
                        <td class="text-center">{{obj.evaluate_login}}</td>
                        <td class="text-center">{{obj.evaluate_age}}</td>
                        <td class="text-center">{{obj.create_time}}</td>
                        <td class="text-center">
                          <p ng-if="obj.state == '0'">草稿</p>
                          <p ng-if="obj.state == '1'">已发布</p>
                          <p ng-if="obj.state == '2'">已撤回</p>
                        </td>
                        <td class="text-center">
                            <a ng-show="obj.state == 0 || obj.state == 2" ng-click="delete(obj.id)" class="btn btn-danger btn-xs">删除</a>
                            <a ng-show="obj.state == 1" ng-click="withdraw(obj.id)" class="btn btn-warning btn-xs">不参与评定</a>
                            <a ng-show="obj.state == 0 || obj.state == 2" ng-click="public(obj.id)" class="btn btn-success btn-xs">参与评定</a>
                            <a ng-show="obj.state == 0 || obj.state == 2" ng-click="edit(obj)" class="btn btn-info btn-xs">编辑</a>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="text-right">
                 <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                    first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                    class="m-t-none m-b">
                </pagination>
            </div>
        </div>
    </div>
    
</div>